home *** CD-ROM | disk | FTP | other *** search
- Path: uxh.cso.uiuc.edu!p-kumar
- From: kumar prashant <p-kumar@uxh.cso.uiuc.edu>
- Newsgroups: comp.lang.c++
- Subject: QUESTION ABOUT COMPILING TEMPLATES
- Date: Wed, 17 Apr 1996 14:47:14 -0500
- Organization: University of Illinois at Urbana
- Message-ID: <Pine.CVX.3.91.960417144233.15632A-100000@uxh.cso.uiuc.edu>
- NNTP-Posting-Host: uxh.cso.uiuc.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- Hi
-
- I'm using a template for a doubly linked list. The template is
- defined in a file called Dlist.c which is included in other files.
-
- All my object files are compiled OK but I get the following error
- in linking
-
- CC[ptlink] fatal error: type DList defined twice in map files
- *** Error code 1 (bu21)
-
- I'm using the C++ compiler on an SGI. Can somebody shed some light on it.
-
- Thanks in advance
- Prashant
-
- \|||/
- ( O-O )
- ---*-------------*----------.ooo0--(_)-0ooo.------*------------*-------
-
- PRASHANT KUMAR URL <http://orion.me.uiuc.edu/~p-kumar>
-
- Off : 348 CSRL, Mech & Ind Engg Res: 203 S.Sixth St.#101
- Urbana, IL 61801 Champaign, IL 61820
- (217) 333-2850 .oooO (217) 398-1232
- ( ) Oooo.
- ---*--------------*------------\ (----( )-------*------------*-------
- \_) ) /
- (_/
-
-